<%-- 
    Document   : viewCourse
    Created on : Jan 8, 2012, 7:34:58 PM
    Author     : Wouter Kievit
--%>

<%@ page language="java" contentType="text/html" %>
<%@ page import="java.util.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<h1>${exerciseName}</h1>
<h2>${exerciseDescription}</h2>
${filesByCategory}
<hr/>
<a HREF="Menu?redirection=viewSubscribed">View subscribed students</a><br/>
<c:if test="${isTeacher==true}">    <A HREF="Menu?redirection=uploadPage">Upload file</A>   
    <br/>
</c:if>
<c:if test="${isTeacher!=true}">
    <A HREF="Menu?redirection=uploadPage">Submit assignment</A>   
    <br/>
</c:if>
<A HREF="Menu?redirection=back">Back</A>
